﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aragorn.SOA.Infratructure;
using Aragorn.SOA.Infratructure.Interface;


namespace Aragorn.ZK.Client2
{
    class Program
    {
        static void Main(string[] args)
        {
            ServicesMeta meta = new ServicesMeta()
            {
                Address = "192.168.1.1",
                type = ServicesType.Basic_Platform,
                Description = @"this is a test client2",
                Level = 0,
                Port = 9090,
                TrackID = Guid.NewGuid().ToString(),
                ServicesName = "Wcfprovider"
            };




            ServicesProxy proxy = new ServicesProxy();


            proxy.Register(meta);

            Console.WriteLine("TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT");


           // ServicesDiscovery dy = new ServicesDiscovery();
           //// dy.Init();

           // dy.SelectAllRepository();

            Console.ReadKey();

        }
    }
}
